package com.yooohooo.designpattern.factory.method;

import com.yooohooo.designpattern.bean.phone.ApplePhone;

/**
 * @ClassName: AppleFactory
 * @Description:
 * @author Yooo
 * @date 2017年6月16日 上午1:50:50
 * 
 */
public class ApplePhoneFactory implements PhoneFactory {
	public ApplePhone getPhone() {
		ApplePhone applePhone = new ApplePhone();
		applePhone.setBrand("Apple");
		applePhone.setOs("IOS");
		return applePhone;
	}
}
